package com.cqut.dto;

import com.cqut.util.BeanUtil;
import com.cqut.model.RoleRigth;

import java.io.Serializable;


public class RoleRigthDTO implements Serializable {
        
        private static final long serialVersionUID = 1L;
        
        private String roleRightId[];
        
        private String roleId;
        
        private String menuId[];
        
        private String remark;
        
        public String[] getRoleRightId(){
        	return roleRightId;
        }
        
        public void setRoleRightId(String roleRightId[]){
        	this.roleRightId = roleRightId;
        }
        
        public String getRoleId() {
			return roleId;
		}

		public void setRoleId(String roleId) {
			this.roleId = roleId;
		}
        
        public String[] getMenuId() {
            return this.menuId;
        }
        
        public void setMenuId(String menuId[]) {
            this.menuId = menuId;
        }
        
        public String getRemark() {
            return this.remark;
        }
        
        public void setRemark(String remark) {
            this.remark = remark;
        }
        
        public RoleRigth toModel() {
            RoleRigth model = new RoleRigth();
			BeanUtil.convert(this, model);
			return model;
        }

}